﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using DAL;

namespace BLL
{
    public class HouseEvaluationManage
    {
        public static HouseEvaluation AddHouseEvaluation(HouseEvaluation comment)
        {
            return HouseEvaluationService.AddHouseEvaluation(comment);
        }

        public static List<HouseEvaluation> GetAllHouseEvaluations(int houseId)
        {
            return HouseEvaluationService.GetAllHouseEvaluations(houseId);
        }

        public static List<HouseEvaluation> GetHouseEvaluationsByUserId(int userId)
        {
            return HouseEvaluationService.GetHouseEvaluationsByUserId(userId);
        }
    }
}
